package angry.courses.database;

import java.util.List;

public interface ICoursesDB {
    void addCourse(String name, String prof, int year, int sem);
    void removeCourse(String name);
    List<String> getStudentNames();
    List<String> getCourseNames1();
    List<String> getCourseNames2(int sem);
    List<Course> getCourses(int year, int semester);
    
    void register(String name, String regnr, int year, List<String> courses);
    void modify(String name, String regnr, int year, List<String> courses);
    void deleteStudent(String name);
    boolean validateStudent(String name, String regnr);

    List<String> getCoursesForStudent(String name, int semester);
    List<String> getStudentsForCourse(String name);
    
    Student getStudent(String name);
    Course getCourse(String name);
    
    int getYearOfStudy(String name, String regnr);
}
